package hb.software.register.web.spring.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import hb.software.register.domain.Register;
import hb.software.register.service.RegisterManager;
import hb.software.web.spring.controller.GenericController;
/** 
 * @ClassName: RegisterController
 * @Description: TODO
 * @author WuYinjie
 * @date May 27, 2020 9:16:19 PM 
 *  
 */

@Controller
@RequestMapping("/register")
public class RegisterController extends GenericController<Register, Long, RegisterManager> {

	RegisterManager RegisterManager;
	@Autowired
	public void setRegisterManager(RegisterManager RegisterManager) {
		this.RegisterManager = RegisterManager;
		this.manager = this.RegisterManager;
	}
	
	@RequestMapping(method = RequestMethod.GET, value = "/index.html")
	public String index() {
		String result = "/register/index";
		return result;
	}

	

}
